package com.cfets.annualAssessment.weixinService.bean;

import java.util.Date;

/**
 * Created with MsgRecord
 * User: pual
 * Date: 2016/4/29
 * Desc:
 */
public class MsgRecord {
    //保存到本地库所用的Id序号
    private Long Id;
    //完整客服帐号，格式为：帐号前缀@公众号微信号
    private String worker;
    //用户标识
    private String openid;
    //操作码，2002（客服发送信息），2003（客服接收消息）
    private String opercode;
    //text
    private String text;
    //操作时间，unix时间戳
    private String time;
    //更新时间
    private Date updateTime;
    //更新用户
    private String updateUser;


    private String customerServiceType;

    private String customerWechatName;

    private String userName;

    private String wechatName;

    private String customerServiceName;

    private String operName;

    private String customerNameFX;

    private String customerAgentFX;

    private String customerNameRMB;

    private String customerAgentRMB;

    public String getWorker() {
        return worker;
    }

    public void setWorker(String worker) {
        this.worker = worker;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpercode() {
        return opercode;
    }

    public void setOpercode(String opercode) {
        this.opercode = opercode;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getCustomerServiceType() {
        return customerServiceType;
    }

    public void setCustomerServiceType(String customerServiceType) {
        this.customerServiceType = customerServiceType;
    }

    public String getCustomerWechatName() {
        return customerWechatName;
    }

    public void setCustomerWechatName(String customerWechatName) {
        this.customerWechatName = customerWechatName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getWechatName() {
        return wechatName;
    }

    public void setWechatName(String wechatName) {
        this.wechatName = wechatName;
    }

    public String getCustomerServiceName() {
        return customerServiceName;
    }

    public void setCustomerServiceName(String customerServiceName) {
        this.customerServiceName = customerServiceName;
    }

    public String getOperName() {
        return operName;
    }

    public void setOperName(String operName) {
        this.operName = operName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getCustomerNameFX() {
        return customerNameFX;
    }

    public void setCustomerNameFX(String customerNameFX) {
        this.customerNameFX = customerNameFX;
    }

    public String getCustomerAgentFX() {
        return customerAgentFX;
    }

    public void setCustomerAgentFX(String customerAgentFX) {
        this.customerAgentFX = customerAgentFX;
    }

    public String getCustomerNameRMB() {
        return customerNameRMB;
    }

    public void setCustomerNameRMB(String customerNameRMB) {
        this.customerNameRMB = customerNameRMB;
    }

    public String getCustomerAgentRMB() {
        return customerAgentRMB;
    }

    public void setCustomerAgentRMB(String customerAgentRMB) {
        this.customerAgentRMB = customerAgentRMB;
    }

    @Override
    public String toString() {
        return "MsgRecord{" +
                "worker='" + worker + '\'' +
                ", openid='" + openid + '\'' +
                ", opercode='" + opercode + '\'' +
                ", text='" + text + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
